class MovieClipData {
	private data_mc1;
	private txtr_mc1;
	private data_mc2;
	private txtr_mc2;
	private data_mc3;
	private txtr_mc3;
	private data_mc4;
	private txtr_mc4;
	private data_mc5;
	private txtr_mc5;
	public static mcFactory1:egret.MovieClipDataFactory;
	public static mcFactory2:egret.MovieClipDataFactory;
	public static mcFactory3:egret.MovieClipDataFactory;
	public static mcFactory4:egret.MovieClipDataFactory;
	public static mcFactory5:egret.MovieClipDataFactory;
	public constructor() {
		this.data_mc1=RES.getRes('mc1_json');
		this.txtr_mc1=RES.getRes('mc1_png');
		MovieClipData.mcFactory1=new egret.MovieClipDataFactory(this.data_mc1, this.txtr_mc1);

		

		// var data = RES.getRes("mc3_json");
		// var txtr = RES.getRes("mc3_png");
		// var mcFactory:egret.MovieClipDataFactory = new egret.MovieClipDataFactory( data, txtr );
		// this.mc3 = new egret.MovieClip( mcFactory.generateMovieClipData( "mc3" ));
		// this.mc3.frameRate=12;
		// this.addChild(this.mc3);
		// this.mc3.gotoAndPlay(1,1)
		// this.mc3.addEventListener(egret.Event.COMPLETE,this.loopHandler,this);
	}
	public loadAgain():void
	{
		this.data_mc2=RES.getRes('mc2_json');
		this.txtr_mc2=RES.getRes('mc2_png');
		MovieClipData.mcFactory2=new egret.MovieClipDataFactory(this.data_mc2, this.txtr_mc2);

		this.data_mc3=RES.getRes('mc3_json');
		this.txtr_mc3=RES.getRes('mc3_png');
		MovieClipData.mcFactory3=new egret.MovieClipDataFactory(this.data_mc3, this.txtr_mc3);

		this.data_mc4=RES.getRes('mc4_json');
		this.txtr_mc4=RES.getRes('mc4_png');
		MovieClipData.mcFactory4=new egret.MovieClipDataFactory(this.data_mc4, this.txtr_mc4);

		this.data_mc5=RES.getRes('mc5_json');
		this.txtr_mc5=RES.getRes('mc5_png');
		MovieClipData.mcFactory5=new egret.MovieClipDataFactory(this.data_mc5, this.txtr_mc5);
	}
}